package com.jinly.ryder.database.service;

import com.jinly.ryder.database.service.model.QueryParam;
import com.jinly.ryder.database.service.model.QueryResult;
import com.jinly.ryder.manage.service.model.DatabaseInstance;

public interface DatabaseExecService {

    boolean testConnection(DatabaseInstance instance);

    QueryResult execQuerySql(DatabaseInstance instance, QueryParam param);

    void execSql(DatabaseInstance instance, String sql);
}
